<cfcomponent displayname="cfjexcelController" extends="ModelGlue.unity.controller.Controller" output="false">

	<cffunction name="setSessionFacade" access= "public" returntype="void" output="false">	
		<cfargument name="SessionFacade" type= "any" required="true">	
		<cfset variables.SessionFacade = arguments.SessionFacade />
	</cffunction>
	
	<cffunction name="getSessionFacade" access= "public" returntype="any" output="false">
		<cfreturn variables.SessionFacade />
	</cffunction>

	<cffunction name="setORMService" returntype="void" access="public" output="false">
		<cfargument name="ORMService" type="any" required="true" />
		<cfset variables.instance.ORMService = arguments.ORMService />
	</cffunction>
	
	<cffunction name="getORMService" access="public" returntype="any" output="false" roles="" hint="">
		<cfreturn variables.instance.ORMService />
	</cffunction>
	
	<cffunction name="getCfjexcelService" access="public" returntype="any" output="false" roles="" hint="">
		<cfreturn variables.instance.cfjexcelService />
	</cffunction>
	
	<cffunction name="setCfjexcelService" returntype="void" access="public" output="false">
		<cfargument name="cfjexcelService" type="any" required="true" />
		<cfset variables.instance.cfjexcelService = arguments.cfjexcelService />
	</cffunction>
	
	<!--- 
		Any function set up to listen for the onRequestStart message happens before any of the <event-handlers>.
		This is a good place to put things like session defaults.
	--->

	<cffunction name="init" access="public" returntype="any" hint="livegrid object constructor.">
		<cfargument name="ModelGlue" required="true" type="ModelGlue.ModelGlue" />
		<cfargument name="InstanceName" required="true" type="string" />
		<cfset super.init( arguments.ModelGlue ) />
		<cfreturn this />
	</cffunction>

	<cffunction name="onRequestStart" access="public" returnType="void" output="false">
	  <cfargument name="event" type="any">
	</cffunction>


  <cffunction name="handleCfjexcel" access="public" returnType="void" output="false">
    <cfargument name="event" type="any" />
  </cffunction>

	<!--- 
		Any function set up to listen for the onQueueComplete message happens after all event-handlers are
		finished running and before any views are rendered.  This is a good place to load constants (like UDF
		libraries) that the views may need.
	--->
	<cffunction name="onQueueComplete" access="public" returnType="void" output="false">
	  <cfargument name="event" type="any">
	</cffunction>

	<!--- 
		Any function set up to listen for the onRequestEnd message happens after views are rendered.
	--->
	<cffunction name="onRequestEnd" access="public" returnType="void" output="false">
	  <cfargument name="event" type="any">
	</cffunction>
</cfcomponent>